# while循环
list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
i = 0

for i in list:
    print(i)
print("-------------------------")
for i in range(len(list)):
    print(list[i])
print("-----------------------")
while i < len(list):
    print(list[i])
    i = i + 1
